package com.he.domain.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;

/**
 * @author He
 * @version 1.0
 * @Date 2023/9/17 10:00
 * @Desc 照片DTO
 */
@Data
@Schema(description = "照片DTO")
public class PhotoDTO {

    /**
     * 相册id
     */
    @NotNull(message = "相册id不能为空")
    @Positive(message = "相册id必须大于0")
    @Schema(description = "相册id")
    private Integer albumId;

    /**
     * 照片链接
     */
    @Schema(description = "照片链接")
    private String photoUrl;

    /**
     * 照片描述
     */
    @Schema(description = "照片描述")
    private String photoDesc;

    /**
     * 照片id
     */
    @Schema(description = "照片id")
    private Integer photoId;
}
